package com.example.admin.controller;

import com.example.admin.service.WmNewsCheckService;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class WmNewsCheckController {
    @Autowired
    WmNewsCheckService wmNewsCheckService;
    
    @GetMapping("check_wmnews")
    public ResponseResult checkWmNews(Integer id){
        return wmNewsCheckService.checkWmNews(id);
    }
}
